﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RptPayDetail.aspx.cs" Inherits="ZX.WebApp.Crm.Report.RptPayDetail" %>

<%@ Register assembly="DevExpress.XtraReports.v11.2.Web, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraReports.Web" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.calendar.js" type="text/javascript"></script>
    <script src="../../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../../Scripts/Public.js" type="text/javascript"></script>
    <style type="text/css">
      button
      {
          width:55px;
          height:25px;
      }
      .title
      {
         font-weight:bold;
         font-size:14px;
         padding:2px;
      }
      .SubTitle
      {
         margin-top:5px;
         padding-top:5px;
         font-weight:bold;
         font-size:14px; 
         border-top: 1px solid #ddd;
         border-left: 1px solid #ddd;
         border-right: 1px solid #ddd;
         height:23px;
         width:250px;
         text-align:left;
      }
      .QueryBody
      {
          margin-top:-1px;
          border:1px solid #ddd;
          padding:5px;
          width:80%;
       }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="SubTitle" title='报表查询参数'>报表查询参数</div>
    <div class="QueryBody">
        <table>
            <tr>
                <td>公司名称</td>
                <td>
                    <asp:DropDownList ID="dpDeptName" runat="server"  AppendDataBoundItems="true">
                        <asp:ListItem Value=" ">选择分公司</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>年份</td>
                <td><asp:TextBox ID="txtYear" runat="server" ></asp:TextBox></td>
                <td>月份</td>
                <td><asp:TextBox ID="txtMonth" runat="server" ></asp:TextBox></td>
                <td><asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" /></td>
            </tr>
        </table>
    </div>
    <div><dx:ReportToolbar ID="ReportToolbar1" runat="server" ShowDefaultButtons="False" style="margin-left:10px;" ReportViewerID="RV">
            <Items>
                <dx:ReportToolbarButton ItemKind="Search" />
                <dx:ReportToolbarSeparator />
                <dx:ReportToolbarButton ItemKind="PrintReport" />
                <dx:ReportToolbarButton ItemKind="PrintPage" />
                <dx:ReportToolbarSeparator />
                <dx:ReportToolbarButton Enabled="False" ItemKind="FirstPage" />
                <dx:ReportToolbarButton Enabled="False" ItemKind="PreviousPage" />
                <dx:ReportToolbarLabel ItemKind="PageLabel" />
                <dx:ReportToolbarComboBox ItemKind="PageNumber" Width="65px">
                </dx:ReportToolbarComboBox>
                <dx:ReportToolbarLabel ItemKind="OfLabel" />
                <dx:ReportToolbarTextBox IsReadOnly="True" ItemKind="PageCount" />
                <dx:ReportToolbarButton ItemKind="NextPage" />
                <dx:ReportToolbarButton ItemKind="LastPage" />
                <dx:ReportToolbarSeparator />
                <dx:ReportToolbarButton ItemKind="SaveToDisk" />
                <dx:ReportToolbarButton ItemKind="SaveToWindow" />
                <dx:ReportToolbarComboBox ItemKind="SaveFormat" Width="70px">
                    <Elements>
                        <dx:ListElement Value="pdf" />
                        <dx:ListElement Value="xls" />
                        <dx:ListElement Value="xlsx" />
                        <dx:ListElement Value="rtf" />
                        <dx:ListElement Value="mht" />
                        <dx:ListElement Value="html" />
                        <dx:ListElement Value="txt" />
                        <dx:ListElement Value="csv" />
                        <dx:ListElement Value="png" />
                    </Elements>
                </dx:ReportToolbarComboBox>
            </Items>
            <Styles>
                <LabelStyle>
                    <Margins MarginLeft="3px" MarginRight="3px" />
                </LabelStyle>
            </Styles>
        </dx:ReportToolbar>
        <dx:ReportViewer ID="RV" runat="server">
        </dx:ReportViewer>
    </div>
    </form>
</body>
</html>
